package com.foreverwin.jzymes.framework.event;

import org.springframework.context.ApplicationEvent;

public class AppEvent<T> extends ApplicationEvent {

    private String name = null;
    private T data = null;

    public AppEvent(Object source) {
        super(source);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
